<?php

namespace app\common\controller;

use app\admin\controller\api\Update;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
use think\Db;

/**
 * 公共类
 */
class Get
{
    //类型
    public static function type()
    {
        return [0 => '运力', 1 => '分拣'];
    }

    //分类
    public static function classify()
    {
        return [0 => '固定', 1 => '临时'];
    }

    //属性
    public static function att()
    {
        return [0 => '车队', 1 => '个人', 2 => '劳务', 3 => '自招'];
    }

    //岗位
    public static function jobs()
    {
        return [0 => '有车', 1 => '无车', 2 => '标品', 3 => '冻品', 4 => '大件', 5 => '杂工'];
    }

    //结算方式
    public static function payment_way()
    {
        return [0 => '周结', 1 => '月结'];
    }

    //支付方式
    public static function pay_way()
    {
        return [0 => '灵活用工', 1 => '银行转账', 2 => '线下支付'];
    }

    //城市级别
    public static function city_level()
    {
        return [0 => 'L1城市', 1 => 'L2城市', 2 => 'L3城市'];
    }
}
